package com.shangguan.atcrowdfunding.utils;

import com.shangguan.atcrowdfunding.bean.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: AjaxResult
 * @Description:
 * @Author: 一尘
 * @Date: 2020 年 01 月 14 16:25
 * @Version 1.0
 */
public class AjaxResult {
    private boolean  success;
    private String message;
    private Page page;

    private List<User> userList = new ArrayList();

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }
}
